package cn.wolfcode.mapper;

import cn.wolfcode.domain.Product;
import cn.wolfcode.qo.QueryObject;

import java.util.List;

public interface ProductMapper {
    int delete(Long id);

    int insert(Product product);

    Product selectById(Long id);

    List<Product> selectAll();

    int update(Product product);

    int selectForCount(QueryObject qo);

    List<Product> queryPage(QueryObject qo);
}